<template>
	<div>
		图书id:{{bookid}}
	</div>
</template>
<script>
	import {get} from '@/utils/wechat'
	export default{
		data(){
			return {
				bookid:''
			}
		},
		methods:{
			async getDetail(){
				const info = await get('/weapp/bookdetail',{id:this.bookid})
			}
		},
		mounted(){
			this.bookid = this.$root.$mp.query.id
			this.getDetail()
		}
	}
</script>
<style></style>